//
//  YWHengVideoHeaderView.h
//  videoTest3
//
//  Created by jun peng on 2022/6/19.
//

#import <UIKit/UIKit.h>
#import "YWGetNewsDataStatus.h"

NS_ASSUME_NONNULL_BEGIN


@class YWHengVideoHeaderView;

@protocol  YWHengVideoHeaderViewDelegate <NSObject>

@optional

//点击了头部的播放要告诉一下VC
-(void)hengVideoHeaderViewDidTap:(YWHengVideoHeaderView *)headerView withStatus:(YWGetNewsDataStatus *)status;


@end

@interface YWHengVideoHeaderView : UIView


+ (instancetype)headerView;

@property(nonatomic,strong)YWGetNewsDataStatus *status;

@property(nonatomic,strong)NSArray<YWGetNewsDataStatus *> *statusListArray;

@property (weak, nonatomic) IBOutlet UICollectionView *listCollectionView;

/* 代理 */
@property (nonatomic, weak) id<YWHengVideoHeaderViewDelegate>delegate;

@property (weak, nonatomic) IBOutlet UIView *videoBgView;


@end

NS_ASSUME_NONNULL_END
